home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / J-M / MegaHome II.cpt / MegaHome II / MegaHome™ II 1.1 / background_2757.xml next >
Extensible Markup Language  |  1991-06-30  |  27KB  |  488 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2757</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_2087.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_7199.css" />
  11.     <part>
  12.         <id>2</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <true /> </lockText>
  21.         <rect>
  22.             <left>7</left>
  23.             <top>312</top>
  24.             <right>58</right>
  25.             <bottom>340</bottom>
  26.         </rect>
  27.         <style>shadow</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>9</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>12</textHeight>
  40.         <name>Coords</name>
  41.         <script>on mouseUpif trapDoubleClick(the rect of me) is true then coordinatorend mouseUpon mouseStillDowndragTargetend mouseStillDown</script>
  42.     </part>
  43.     <part>
  44.         <id>15</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <true /> </lockText>
  53.         <rect>
  54.             <left>292</left>
  55.             <top>325</top>
  56.             <right>318</right>
  57.             <bottom>337</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>9</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>12</textHeight>
  72.         <name>Page</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>19</id>
  77.         <type>button</type>
  78.         <visible> <true /> </visible>
  79.         <reserved5> 0 </reserved5>
  80.         <reserved4> 0 </reserved4>
  81.         <reserved3> 0 </reserved3>
  82.         <reserved2> 0 </reserved2>
  83.         <reserved1> 0 </reserved1>
  84.         <enabled> <true /> </enabled>
  85.         <rect>
  86.             <left>316</left>
  87.             <top>321</top>
  88.             <right>339</right>
  89.             <bottom>342</bottom>
  90.         </rect>
  91.         <style>transparent</style>
  92.         <showName> <false /> </showName>
  93.         <highlight> <false /> </highlight>
  94.         <autoHighlight> <false /> </autoHighlight>
  95.         <sharedHighlight> <true /> </sharedHighlight>
  96.         <family>0</family>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>1832</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <name>Next</name>
  104.         <script>on mouseUpvisual effect wipe left fastgo to next card in this bkgndend mouseUp</script>
  105.     </part>
  106.     <part>
  107.         <id>1</id>
  108.         <type>field</type>
  109.         <visible> <true /> </visible>
  110.         <dontWrap> <false /> </dontWrap>
  111.         <dontSearch> <false /> </dontSearch>
  112.         <sharedText> <false /> </sharedText>
  113.         <fixedLineHeight> <true /> </fixedLineHeight>
  114.         <autoTab> <false /> </autoTab>
  115.         <lockText> <true /> </lockText>
  116.         <rect>
  117.             <left>439</left>
  118.             <top>324</top>
  119.             <right>510</right>
  120.             <bottom>340</bottom>
  121.         </rect>
  122.         <style>shadow</style>
  123.         <autoSelect> <false /> </autoSelect>
  124.         <showLines> <false /> </showLines>
  125.         <wideMargins> <false /> </wideMargins>
  126.         <multipleLines> <false /> </multipleLines>
  127.         <reservedFamily> 0 </reservedFamily>
  128.         <titleWidth>0</titleWidth>
  129.         <icon>0</icon>
  130.         <textAlign>center</textAlign>
  131.         <font>Geneva</font>
  132.         <textSize>9</textSize>
  133.         <textStyle>plain</textStyle>
  134.         <textHeight>12</textHeight>
  135.         <name>Clock</name>
  136.         <script>on mouseUpif trapDoubleClick(the rect of me) is true thenput the date into mewait 1 secend ifend mouseUpon mouseStillDowndragTargetend mouseStillDown</script>
  137.     </part>
  138.     <part>
  139.         <id>21</id>
  140.         <type>button</type>
  141.         <visible> <true /> </visible>
  142.         <reserved5> 0 </reserved5>
  143.         <reserved4> 0 </reserved4>
  144.         <reserved3> 0 </reserved3>
  145.         <reserved2> 0 </reserved2>
  146.         <reserved1> 0 </reserved1>
  147.         <enabled> <true /> </enabled>
  148.         <rect>
  149.             <left>202</left>
  150.             <top>321</top>
  151.             <right>225</right>
  152.             <bottom>342</bottom>
  153.         </rect>
  154.         <style>transparent</style>
  155.         <showName> <false /> </showName>
  156.         <highlight> <false /> </highlight>
  157.         <autoHighlight> <false /> </autoHighlight>
  158.         <sharedHighlight> <true /> </sharedHighlight>
  159.         <family>0</family>
  160.         <titleWidth>0</titleWidth>
  161.         <icon>26402</icon>
  162.         <textAlign>center</textAlign>
  163.         <font>Chicago</font>
  164.         <textSize>12</textSize>
  165.         <textStyle>plain</textStyle>
  166.         <name>Prev</name>
  167.         <script>on mouseUpvisual effect wipe right fastgo to prev card in this bkgndend mouseUp</script>
  168.     </part>
  169.     <part>
  170.         <id>44</id>
  171.         <type>button</type>
  172.         <visible> <true /> </visible>
  173.         <reserved5> 0 </reserved5>
  174.         <reserved4> 0 </reserved4>
  175.         <reserved3> 0 </reserved3>
  176.         <reserved2> 0 </reserved2>
  177.         <reserved1> 0 </reserved1>
  178.         <enabled> <true /> </enabled>
  179.         <rect>
  180.             <left>343</left>
  181.             <top>325</top>
  182.             <right>392</right>
  183.             <bottom>340</bottom>
  184.         </rect>
  185.         <style>rectangle</style>
  186.         <showName> <true /> </showName>
  187.         <highlight> <false /> </highlight>
  188.         <autoHighlight> <true /> </autoHighlight>
  189.         <sharedHighlight> <true /> </sharedHighlight>
  190.         <family>0</family>
  191.         <titleWidth>0</titleWidth>
  192.         <icon>0</icon>
  193.         <textAlign>center</textAlign>
  194.         <font>Geneva</font>
  195.         <textSize>9</textSize>
  196.         <textStyle>plain</textStyle>
  197.         <name>Open App</name>
  198.         <script>on mouseUpdoMenu "Open Application‚Ķ"end mouseUp</script>
  199.     </part>
  200.     <part>
  201.         <id>83</id>
  202.         <type>button</type>
  203.         <visible> <true /> </visible>
  204.         <reserved5> 0 </reserved5>
  205.         <reserved4> 0 </reserved4>
  206.         <reserved3> 0 </reserved3>
  207.         <reserved2> 0 </reserved2>
  208.         <reserved1> 0 </reserved1>
  209.         <enabled> <true /> </enabled>
  210.         <rect>
  211.             <left>143</left>
  212.             <top>325</top>
  213.             <right>198</right>
  214.             <bottom>340</bottom>
  215.         </rect>
  216.         <style>rectangle</style>
  217.         <showName> <true /> </showName>
  218.         <highlight> <false /> </highlight>
  219.         <autoHighlight> <true /> </autoHighlight>
  220.         <sharedHighlight> <true /> </sharedHighlight>
  221.         <family>0</family>
  222.         <titleWidth>0</titleWidth>
  223.         <icon>0</icon>
  224.         <textAlign>center</textAlign>
  225.         <font>Geneva</font>
  226.         <textSize>9</textSize>
  227.         <textStyle>plain</textStyle>
  228.         <name>Open Stack</name>
  229.         <script>on mouseUpdoMenu "Open Stack..."end mouseUp</script>
  230.     </part>
  231.     <part>
  232.         <id>92</id>
  233.         <type>field</type>
  234.         <visible> <true /> </visible>
  235.         <dontWrap> <false /> </dontWrap>
  236.         <dontSearch> <false /> </dontSearch>
  237.         <sharedText> <true /> </sharedText>
  238.         <fixedLineHeight> <true /> </fixedLineHeight>
  239.         <autoTab> <false /> </autoTab>
  240.         <lockText> <true /> </lockText>
  241.         <rect>
  242.             <left>227</left>
  243.             <top>325</top>
  244.             <right>304</right>
  245.             <bottom>337</bottom>
  246.         </rect>
  247.         <style>transparent</style>
  248.         <autoSelect> <false /> </autoSelect>
  249.         <showLines> <false /> </showLines>
  250.         <wideMargins> <false /> </wideMargins>
  251.         <multipleLines> <false /> </multipleLines>
  252.         <reservedFamily> 0 </reservedFamily>
  253.         <titleWidth>0</titleWidth>
  254.         <icon>0</icon>
  255.         <textAlign>center</textAlign>
  256.         <font>Geneva</font>
  257.         <textSize>9</textSize>
  258.         <textStyle>bold</textStyle>
  259.         <textHeight>12</textHeight>
  260.         <name>kard</name>
  261.         <script></script>
  262.     </part>
  263.     <part>
  264.         <id>93</id>
  265.         <type>button</type>
  266.         <visible> <true /> </visible>
  267.         <reserved5> 0 </reserved5>
  268.         <reserved4> 0 </reserved4>
  269.         <reserved3> 0 </reserved3>
  270.         <reserved2> 0 </reserved2>
  271.         <reserved1> 0 </reserved1>
  272.         <enabled> <true /> </enabled>
  273.         <rect>
  274.             <left>488</left>
  275.             <top>39</top>
  276.             <right>505</right>
  277.             <bottom>53</bottom>
  278.         </rect>
  279.         <style>transparent</style>
  280.         <showName> <false /> </showName>
  281.         <highlight> <false /> </highlight>
  282.         <autoHighlight> <false /> </autoHighlight>
  283.         <sharedHighlight> <true /> </sharedHighlight>
  284.         <family>0</family>
  285.         <titleWidth>0</titleWidth>
  286.         <icon>0</icon>
  287.         <textAlign>center</textAlign>
  288.         <font>Chicago</font>
  289.         <textSize>12</textSize>
  290.         <textStyle>plain</textStyle>
  291.         <name>Search Paths</name>
  292.         <script>on mouseUpgo to card "stacks"end mouseUp</script>
  293.     </part>
  294.     <part>
  295.         <id>98</id>
  296.         <type>button</type>
  297.         <visible> <true /> </visible>
  298.         <reserved5> 0 </reserved5>
  299.         <reserved4> 0 </reserved4>
  300.         <reserved3> 0 </reserved3>
  301.         <reserved2> 0 </reserved2>
  302.         <reserved1> 0 </reserved1>
  303.         <enabled> <true /> </enabled>
  304.         <rect>
  305.             <left>3</left>
  306.             <top>24</top>
  307.             <right>31</right>
  308.             <bottom>323</bottom>
  309.         </rect>
  310.         <style>transparent</style>
  311.         <showName> <false /> </showName>
  312.         <highlight> <false /> </highlight>
  313.         <autoHighlight> <false /> </autoHighlight>
  314.         <sharedHighlight> <true /> </sharedHighlight>
  315.         <family>0</family>
  316.         <titleWidth>0</titleWidth>
  317.         <icon>0</icon>
  318.         <textAlign>center</textAlign>
  319.         <font>Chicago</font>
  320.         <textSize>12</textSize>
  321.         <textStyle>plain</textStyle>
  322.         <name>clean</name>
  323.         <script>on mouseUpif trapDoubleClick(the rect of me) is false then doADeselectelseif fld "page" is 1 then set the rect of cd fld "axis" to 7,22,63,50doACleanUpend ifend mouseUp</script>
  324.     </part>
  325.     <part>
  326.         <id>95</id>
  327.         <type>button</type>
  328.         <visible> <true /> </visible>
  329.         <reserved5> 0 </reserved5>
  330.         <reserved4> 0 </reserved4>
  331.         <reserved3> 0 </reserved3>
  332.         <reserved2> 0 </reserved2>
  333.         <reserved1> 0 </reserved1>
  334.         <enabled> <true /> </enabled>
  335.         <rect>
  336.             <left>488</left>
  337.             <top>53</top>
  338.             <right>503</right>
  339.             <bottom>68</bottom>
  340.         </rect>
  341.         <style>transparent</style>
  342.         <showName> <false /> </showName>
  343.         <highlight> <false /> </highlight>
  344.         <autoHighlight> <false /> </autoHighlight>
  345.         <sharedHighlight> <true /> </sharedHighlight>
  346.         <family>0</family>
  347.         <titleWidth>0</titleWidth>
  348.         <icon>0</icon>
  349.         <textAlign>center</textAlign>
  350.         <font>Chicago</font>
  351.         <textSize>12</textSize>
  352.         <textStyle>plain</textStyle>
  353.         <name>Applications</name>
  354.         <script>on mouseUpgo to card "applicationlauncher1"end mouseUp</script>
  355.     </part>
  356.     <part>
  357.         <id>96</id>
  358.         <type>button</type>
  359.         <visible> <true /> </visible>
  360.         <reserved5> 0 </reserved5>
  361.         <reserved4> 0 </reserved4>
  362.         <reserved3> 0 </reserved3>
  363.         <reserved2> 0 </reserved2>
  364.         <reserved1> 0 </reserved1>
  365.         <enabled> <true /> </enabled>
  366.         <rect>
  367.             <left>490</left>
  368.             <top>81</top>
  369.             <right>502</right>
  370.             <bottom>96</bottom>
  371.         </rect>
  372.         <style>transparent</style>
  373.         <showName> <false /> </showName>
  374.         <highlight> <false /> </highlight>
  375.         <autoHighlight> <false /> </autoHighlight>
  376.         <sharedHighlight> <true /> </sharedHighlight>
  377.         <family>0</family>
  378.         <titleWidth>0</titleWidth>
  379.         <icon>0</icon>
  380.         <textAlign>center</textAlign>
  381.         <font>Geneva</font>
  382.         <textSize>9</textSize>
  383.         <textStyle>plain</textStyle>
  384.         <name>About</name>
  385.         <script>on mouseUpglobal mHomeVers,mHomeDate,mHomeRevget item(item 2 of mHomeRev/20) of "‚àÇlpha test,√üeta test,developmental,release version"showAlert 2,9942,"Version"&&mHomeVers&&"("&it&")",mHomeDate,Bend mouseUp</script>
  386.     </part>
  387.     <part>
  388.         <id>99</id>
  389.         <type>button</type>
  390.         <visible> <true /> </visible>
  391.         <reserved5> 0 </reserved5>
  392.         <reserved4> 0 </reserved4>
  393.         <reserved3> 0 </reserved3>
  394.         <reserved2> 0 </reserved2>
  395.         <reserved1> 0 </reserved1>
  396.         <enabled> <true /> </enabled>
  397.         <rect>
  398.             <left>490</left>
  399.             <top>67</top>
  400.             <right>502</right>
  401.             <bottom>82</bottom>
  402.         </rect>
  403.         <style>transparent</style>
  404.         <showName> <false /> </showName>
  405.         <highlight> <false /> </highlight>
  406.         <autoHighlight> <false /> </autoHighlight>
  407.         <sharedHighlight> <true /> </sharedHighlight>
  408.         <family>0</family>
  409.         <titleWidth>0</titleWidth>
  410.         <icon>0</icon>
  411.         <textAlign>center</textAlign>
  412.         <font>Geneva</font>
  413.         <textSize>9</textSize>
  414.         <textStyle>plain</textStyle>
  415.         <name>Safe</name>
  416.         <script>on mouseUpgo card"Ft. Knox‚Ñ¢ Open"end mouseUp</script>
  417.     </part>
  418.     <part>
  419.         <id>104</id>
  420.         <type>button</type>
  421.         <visible> <true /> </visible>
  422.         <reserved5> 0 </reserved5>
  423.         <reserved4> 0 </reserved4>
  424.         <reserved3> 0 </reserved3>
  425.         <reserved2> 0 </reserved2>
  426.         <reserved1> 0 </reserved1>
  427.         <enabled> <true /> </enabled>
  428.         <rect>
  429.             <left>488</left>
  430.             <top>95</top>
  431.             <right>503</right>
  432.             <bottom>110</bottom>
  433.         </rect>
  434.         <style>opaque</style>
  435.         <showName> <false /> </showName>
  436.         <highlight> <false /> </highlight>
  437.         <autoHighlight> <false /> </autoHighlight>
  438.         <sharedHighlight> <true /> </sharedHighlight>
  439.         <family>0</family>
  440.         <titleWidth>0</titleWidth>
  441.         <icon>0</icon>
  442.         <textAlign>center</textAlign>
  443.         <font>Chicago</font>
  444.         <textSize>12</textSize>
  445.         <textStyle>plain</textStyle>
  446.         <name>Homme</name>
  447.         <script></script>
  448.     </part>
  449.     <part>
  450.         <id>105</id>
  451.         <type>button</type>
  452.         <visible> <false /> </visible>
  453.         <reserved5> 0 </reserved5>
  454.         <reserved4> 0 </reserved4>
  455.         <reserved3> 0 </reserved3>
  456.         <reserved2> 0 </reserved2>
  457.         <reserved1> 0 </reserved1>
  458.         <enabled> <true /> </enabled>
  459.         <rect>
  460.             <left>81</left>
  461.             <top>53</top>
  462.             <right>125</right>
  463.             <bottom>98</bottom>
  464.         </rect>
  465.         <style>shadow</style>
  466.         <showName> <false /> </showName>
  467.         <highlight> <false /> </highlight>
  468.         <autoHighlight> <false /> </autoHighlight>
  469.         <sharedHighlight> <true /> </sharedHighlight>
  470.         <family>0</family>
  471.         <titleWidth>-1</titleWidth>
  472.         <icon>1000</icon>
  473.         <textAlign>center</textAlign>
  474.         <font>Chicago</font>
  475.         <textSize>12</textSize>
  476.         <textStyle>plain</textStyle>
  477.         <name>okIcon</name>
  478.         <script></script>
  479.     </part>
  480.     <content>
  481.         <layer>background</layer>
  482.         <id>92</id>
  483.         <text>Home Cards</text>
  484.     </content>
  485.     <name>Home</name>
  486.     <script>on openBackgroundset the cursor to 4global sellock screencreate menu "Manager"create menu "Prefs"put "Set UserName,-,UserLevel‚Ķ,Language‚Ķ,Text Arrows,Power Keys,Blind"¬¨&&"Typing,Power Commands,Message Flashbacks,Auto‚ÄìCompacting,Message"¬¨&&"Box Memory,-,Script Text‚Ķ,-,Double‚ÄìClick Rate‚Ķ,Drag Delay‚Ķ,-,Screen‚ÄìSaver‚Ķ,"¬¨&"Screen‚ÄìSaver Icon‚Ķ" into menu "Prefs"disable menuItem "Language‚Ķ" of menu "Prefs"if sel is empty then shortMgr else longMgrshow menuBarend openBackgroundon closeBackgroundif there is a menu "Manager" then delete menu "Manager"if there is a menu "Prefs" then delete menu "Prefs"end closeBackgroundon doMenu itum,menuNameif menuName is not "Manager" and menuName is not "Prefs" then pass doMenuif menuName is "Manager" thenput the number of btns into xif itum is "Dragging" then  --DRAGGINGglobal drput not dr into drput dr into line 8 of card field "prefs" of card 1else if itum is "Mouse Coordinates" then  --COORDINATESglobal coordsput not coords into coordsput coords into line 7 of card field "prefs" of card 1else if itum is "Open" then  --OPENglobal sel,ssgo card sssendIntercept "doBtnScript",(the name of btn sel),xput the short name of btn sel into kif "--path: " is in line 1 of the script of btn kthenput line 1 of the script of btn k into kdelete char 1 to 8 of kend ifdoADeselectgoto kexit doMenuelse if itum is "Rename‚Ķ" then  --RENAMEglobal sel,ssgo card ssput the short name of btn sel into oldNameask"New name for selected link:" with oldNameput it into ttif tt is empty then exit doMenuset the name of btn sel to ttanswer "Change Finder name also?" with "Yes" or "No"if it is "Yes" thenput the long name of stack (oldName) into oldNamedelete char 1 to 7 of oldNamedelete last char of oldNameput renameFile (oldName,tt) into erCif erC‚â†0 thenbeep 2answer"Couldn‚Äôt change actual name" with "Cancel"exit doMenuend ifput the script of btn sel into kif "--path: " is in line 1 of kthenput "--path: "&pathName(oldName)&tt into line 1 of kset the script of btn sel to kend ifend ifexit doMenuelse if itum is "New Icon‚Ķ" then  -- NEW ICONglobal sel,ssgo card ssask"New icon (name or #) for selected link:" with the icon of ¬¨btn selif it is empty then exit doMenuif okIcon(it) is false thenbeep 2answer "That icon does not exist." with "Cancel"exit doMenuend ifset the icon of btn sel to itexit doMenuelse if itum is "New Card" then  --NEW CARDset the cursor to 4lock screenset the lockMessages to truego to last cd in this bgput fld "page" into PFsend "doMenu New Card" to hyperCardput "Mouse:"&return&"0,0" into field "coords"put PF+1 into fld "page"send openCard to this cdexit doMenuelse if itum is "Remove Card" then  --DELETE CARDbeep 2answer"Do you really want to delete this entire card?" with "OK" or¬¨"Cancel"if it is "Cancel" then exit doMenuset the cursor to 4lock screenset the lockMessages to truedoMenu"delete card"go previf fld "page" is 1then set the icon of bg btn "prev" to "‚àöGrey Prev Arrow"else set the icon of bg btn "prev" to "Prev Arrow"if fld "page">the number of cds of this bgthen put the number of cds of this bg into fld "page"if fld "page" = the number of cds of this bgthen set the icon of bg btn "next" to "‚àöGrey Next Arrow"else set the icon of bg btn "next" to "Next Arrow"else if itum is "Clean Up All" then  -- CLEAN UP ALLif fld "page" is 1 then set the rect of cd fld "axis" to 7,22,63,50doACleanUpexit doMenuelse if itum is "Clean Up" thenglobal sel,ssgo cd ssdoACleanUp(sel)exit doMenuelse if itum is "Place‚Ķ" thenglobal sel,ssgo card ssput the number of btns into x -- DO NOT DELETEask "Place selected button at what position? (1-"&x&")"¬¨with selif it is sel or it is empty then exit doMenuif it<1 or it>x thenbeepexit doMenuend ifset the cursor to 4put the id of btn sel into sseellset the lockScreen to trueput the userLevel into ssulif ssul<5 then set the userLevel to 5choose button toolclick at the loc of btn selif it<sel thenrepeat until the number of btn id (sseell)=itdoMenu "Send Farther"end repeatelserepeat until the number of btn id (sseell)=itdoMenu "Bring Closer"end repeatend ifput it into selif ssul<5 then set the userLevel to ssulchoose browse tooldoACleanUp(sel)unlock screenput "If the button is not visible, try doing a CLEAN UP ALL."get the mouseLocwait until the mouseLoc is not ithide msgexit doMenuelse if itum is "Deselect" then  --DESELECTdoADeselectexit doMenuelse if itum is "Add Stack‚Ķ" then  --ADD A STACKput (the shiftKey is "down") into shKeyglobal adsIanswer file "Choose a stack to add." of type "STAK"go to this cardput it into appFilelock screenif appFile is empty then exit doMenuset cursor to 4put the userLevel into sLif the userLevel<>5 then set the userLevel to 5put buttonName(appFile) into appNameput the number of btns into xxxdoMenu "New Button"put the id of btn (xxx+1) into appIDset name of btn id appID to appNameset icon of btn id appID to adsIset style of btn id appID to transparentif shKey is falsethenset the script of btn id appID to emptyelseset the script of btn id appID to "--path: "&appFileend ifshow btn id appIDput pathName(appFile) into aCif aC&return is not in field "paths" of card "stacks" thenif (last char of (field "paths" of card "stacks")) is not return¬¨then put return after field"paths" of card "stacks"put aC&return after field "paths" of card "stacks"global stacksput field "paths" of card "stacks" into stacksend ifchoose browse tooldoACleanUp (the number of btns) -- DO NOT CHANGE TO (x)!!!if the userLevel<>5 then set the userLevel to sLupdMenusexit doMenuelse if itum is "Add Stack Default Icon‚Ķ" then --ADD STACK ICONglobal adsIask "Default icon for ‚ÄúAdd a stack‚Äù:" with adsIif it is empty then exit doMenuif okIcon(it) is false thenbeep 2answer "That icon does not exist." with "Cancel"exit doMenuend ifput it into adsIput adsI into line 15 of card field "Prefs" of card 1exit doMenuelse if itum is "Remove Link" then  --REMOVE A STACKglobal sel,sgo card ssbeep 2answer"Do you really want to remove this link?" with "OK"¬¨or "Cancel"if it is "OK" thenpush cardlock screenget seldoADeselectput it into selset the cursor to 4put the userLevel into sLif the userLevel<>5 then set the userLevel to 5select btn seldoMenu"Clear Button"choose browse toolif the userLevel<>5 then set the userLevel to sLunlock screenput empty into selend ifexit doMenuend ifelse if menuName is "Prefs" thenif itum is "Set UserName" then  --USERNAMEglobal userNameask"Your UserName:" with userNameif it is not empty then put it into userNameput userName into line 5 of card field "Prefs" of card 1exit doMenuelse if itum is "UserLevel‚Ķ" then  --USERLEVELget item (the userLevel) of "Browsing,Typing,Painting,Authoring,Scripting"showAlert 4,,"Your UserLevel is currently"&&it&"."&return&"Set it to:",,Bif the result is 1 then exit doMenuset the userlevel to item (the result) of ",2,3,,,4,5,1"put the userLevel into line 9 of card field"prefs" of card 1else if itum is "Language‚Ķ" then --LANGUAGEhandleError "M2","00"else if itum is "Power Commands" then  --EXPERIENCEglobal powerUserput not powerUser into powerUserput powerUser into line 4 of card field "Prefs" of card 1else if itum is "Text Arrows" then  --TEXT ARROWSset the textArrows to not the textArrowsput the textarrows into line 1 of card field"Prefs" of card 1else if itum is "Power Keys" then  --POWER KEYSset the powerKeys to not the powerKeysput the powerkeys into line 2 of card field"Prefs" of card 1else if itum is "Blind Typing" then  --BLIND TYPINGset the blindTyping to not the blindTypingput the blindTyping into line 3 of card field"Prefs" of card 1else if itum is "Double‚ÄìClick Rate‚Ķ" then  --DOUBLE‚ÄìCLICK SPEEDglobal clickSpeedanswer "Choose your double‚Äìclicking speed:" with "Slow","Medium","Fast"if it is "Slow" then put 3 into clickSpeedif it is "Medium" then put 2 into clickSpeedif it is "Fast" then put 1 into clickSpeedput clickSpeed into line 10 of cd fld"prefs" of cd 1exit doMenuelse if itum is "Script Text‚Ķ" then  -- SCRIPT TEXTseput ((the scriptTextFont)&","&(the scriptTextSize)) into line 17 of cd fld "prefs" of cd 1else if itum is "Drag Delay‚Ķ" then  -- DRAG DELAYglobal dragDelayanswer "Choose a drag delay:" with "None" or "Long" or "Short"if it is "None" then put 0 into dragDelayif it is "Long" then put 2 into dragDelayif it is "Short" then put 1 into dragDelayput dragDelay into line 16 of cd fld"prefs" of cd 1exit doMenuelse if itum is "Screen‚ÄìSaver Icon‚Ķ" then  --SCREEN‚ÄìSAVER ICONglobal idask"Icon (name/number) for screen saver:" with idif it is empty then exit doMenuif okIcon(it) is false thenbeep 2answer "That icon does not exist." with "Cancel"exit doMenuend ifput it into idput id into line 11 of cd fld"prefs" of cd 1exit doMenuelse if itum is "Auto‚ÄìCompacting" then  --AUTO‚ÄìCOMPACTINGglobal autoCput not autoC into autoCput autoC into line 12 of cd fld"prefs" of cd 1else if itum is "Message Box Memory" then  --MESSAGE BOX RESTORINGif the cmdKey is "down" thenmsgCmd"clear"exit doMenuend ifglobal mXput not mX into mXput mX into line 6 of card field "prefs" of card 1else if itum is "Screen‚ÄìSaver‚Ķ" then  --SCREEN‚ÄìSAVERglobal screenSanswer "Choose a Screen‚ÄìSaver mode:" with "Off" or "‚ÄúBoss Mode‚Äù" or "Normal"if it is "Off" then put 0 into screenSif it is "Normal" then put 1 into screenSif it is "‚ÄúBoss Mode‚Äù" then put 2 into screenSput screenS into line 13 of card field"prefs" of card 1exit doMenuelse if itum is "Message Flashbacks" then  --LAST COMMAND TYPEDglobal shiftTput not shiftT into shiftTput shiftT into line 14 of card field"prefs" of card 1end ifend ifupdMenusend doMenuon updMenusglobal dr,coords,maxBtns,powerUser,shiftT,mX,autoCif there is no menu "Manager" then exit updMenusset the cursor to 4set the checkMark of menuItem "Dragging" of menu "Manager" to drset the checkMark of menuItem "Mouse Coordinates" of menu "Manager" to coordsset the enabled of menuItem "Remove Card" of menu "Manager" to (fld "page" is not 1)set the enabled of menuItem "Add Stack‚Ķ" of menu "Manager" to (the number of btns<maxBtns)set the enabled of menuItem "Text Arrows" of menu "Prefs" to (the userLevel>1)set the enabled of menuItem "Power Keys" of menu "Prefs" to (the userLevel>2)set the enabled of menuItem "Blind Typing" of menu "Prefs" to (the userLevel>4)set the enabled of menuItem "Script Text‚Ķ" of menu "Prefs" to (the userLevel>4)set the checkMark of menuItem "Text Arrows" of menu "Prefs" to (the textArrows)set the checkMark of menuItem "Power Keys" of menu "Prefs" to (the powerKeys)set the checkMark of menuItem "Blind Typing" of menu "Prefs" to (the blindTyping)set the checkMark of menuItem "Power Commands" of menu "Prefs" to powerUserset the checkMark of menuItem "Message Flashbacks" of menu "Prefs" to shiftTset the checkMark of menuItem "Auto‚ÄìCompacting" of menu "Prefs" to autoCset the checkMark of menuItem "Message Box Memory" of menu "Prefs" to mXend updMenuson openCardif fld "page" is 1then set the icon of bg btn "prev" to "‚àöGrey Prev Arrow"else set the icon of bg btn "prev" to "Prev Arrow"if fld "page">the number of cds of this bgthen put the number of cds of this bg into fld "page"if fld "page" = the number of cds of this bgthen set the icon of bg btn "next" to "‚àöGrey Next Arrow"else set the icon of bg btn "next" to "Next Arrow"updMenusend openCardon idleglobal coordsput the short time into field "Clock"if coords is true and the shiftKey is up then put the mouseLoc into line 2 of fld "Coords"end idleon mouseUpif "Card Button" is not in the long name of the target then pass mouseUpset the cursor to 4doADeselectglobal sel,ssif trapDoubleClick(the rect of the target) is not true thenput the number of the target into selput the number of this card into ssset the hilite of btn sel to truelongMgrelseif "doBtnScript" is in the script of the target thensend doBtnScript to the targetexit mouseUpend ifput the short name of the target into kif "--path: " is in line 1 of the script of btn kthenput line 1 of the script of btn k into kdelete char 1 to 8 of kend ifgoto kend ifend mouseUpon mouseStillDownif "Card Button" is not in the long name of the target then pass mouseStillDowndragTargetend mouseStillDownon longMgrif there is no menu "Manager" then exit longMgrput "Dragging,Mouse Coordinates,-,Open,-,Rename‚Ķ,New Icon‚Ķ,-,Add Stack‚Ķ,Add Stack Default Icon‚Ķ,Remove Link,-,New Card,Remove Card,-,Clean Up,Clean Up All,Place‚Ķ,-,Deselect"¬¨into menu "Manager"updMenusend longMgron shortMgrif there is no menu "Manager" then exit shortMgrput "Dragging,Mouse Coordinates,-,Add Stack‚Ķ,Add Stack Default Icon‚Ķ,-,New Card,Remove Card,-,Clean Up All"¬¨into menu "Manager"updMenusend shortMgr</script>
  487. </background>
  488.